package com.cjlgb.design.upms.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.cjlgb.design.common.mybatis.bean.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.Collection;

/**
 * @author WFT
 * @date 2019/7/31
 * description: 系统角色
 */
@Setter
@Getter
public class SysRole extends BaseEntity {

    /**
     * 角色名称
     */
    private String name;

    /**
     * 描述
     */
    private String roleDescribe;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 最后修改时间
     */
    private LocalDateTime lastModifyTime;

    /* -------------------------------------------------------------------------------------------------------------- */

    /**
     * 权限Id列表
     */
    @TableField(exist = false)
    private Collection<Long> authorities;

}
